package cn.vinann;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@EnableDiscoveryClient
@SpringBootApplication
public class ProducerBApplication {

	public static void main(String[] args) {
		SpringApplication.run(ProducerBApplication.class, args);
	}
	
	@Bean
	public CommandLineRunner commandLineRunner(){
		return new CommandLineRunner();
	}
}
